package com.hotdog.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * @author Administrator
 */
@Data
@TableName("payorder")
@Accessors(chain = true)
public class PayInfo implements Serializable {
    private static final long serialVersionUID = 1181144674708997471L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String orderid;
    @TableField(fill = FieldFill.INSERT)
    /**
     *     订单创建时间
     */

    private Date ordertime;
    @TableField(fill = FieldFill.UPDATE)
    /**
     * 支付成功时间
     */
    private Date paysuccess;
    /**
     * 订单状态
     */
    private String states="未支付";
}
